package com.datastructures2.链表;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2020/10/6 4:13 下午
 */
public class ListNode {
    public int val;
    public ListNode next;

    public ListNode(int val) {
        this.val = val;
    }

    @Override
    public String toString() {
        return "ListNode{" +
                "val=" + val +
                ", next=" + next +
                '}';
    }
}
